package com.dfbz.service;

import com.dfbz.model.Favorite;

import java.util.ArrayList;

public interface FavoriteService {
    Favorite findById(Integer id);
    ArrayList<Favorite> findList();
    void save(Favorite favorite);
    void deleteById(Integer id);
    void update(Favorite favorite);
    void deleteFav(Integer uId,Integer aId);
}
